package com.suyuan.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGidIsNull() {
            addCriterion("GID is null");
            return (Criteria) this;
        }

        public Criteria andGidIsNotNull() {
            addCriterion("GID is not null");
            return (Criteria) this;
        }

        public Criteria andGidEqualTo(Integer value) {
            addCriterion("GID =", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotEqualTo(Integer value) {
            addCriterion("GID <>", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThan(Integer value) {
            addCriterion("GID >", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("GID >=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThan(Integer value) {
            addCriterion("GID <", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThanOrEqualTo(Integer value) {
            addCriterion("GID <=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidIn(List<Integer> values) {
            addCriterion("GID in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotIn(List<Integer> values) {
            addCriterion("GID not in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidBetween(Integer value1, Integer value2) {
            addCriterion("GID between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotBetween(Integer value1, Integer value2) {
            addCriterion("GID not between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andCustomidIsNull() {
            addCriterion("CustomID is null");
            return (Criteria) this;
        }

        public Criteria andCustomidIsNotNull() {
            addCriterion("CustomID is not null");
            return (Criteria) this;
        }

        public Criteria andCustomidEqualTo(Integer value) {
            addCriterion("CustomID =", value, "customid");
            return (Criteria) this;
        }

        public Criteria andCustomidNotEqualTo(Integer value) {
            addCriterion("CustomID <>", value, "customid");
            return (Criteria) this;
        }

        public Criteria andCustomidGreaterThan(Integer value) {
            addCriterion("CustomID >", value, "customid");
            return (Criteria) this;
        }

        public Criteria andCustomidGreaterThanOrEqualTo(Integer value) {
            addCriterion("CustomID >=", value, "customid");
            return (Criteria) this;
        }

        public Criteria andCustomidLessThan(Integer value) {
            addCriterion("CustomID <", value, "customid");
            return (Criteria) this;
        }

        public Criteria andCustomidLessThanOrEqualTo(Integer value) {
            addCriterion("CustomID <=", value, "customid");
            return (Criteria) this;
        }

        public Criteria andCustomidIn(List<Integer> values) {
            addCriterion("CustomID in", values, "customid");
            return (Criteria) this;
        }

        public Criteria andCustomidNotIn(List<Integer> values) {
            addCriterion("CustomID not in", values, "customid");
            return (Criteria) this;
        }

        public Criteria andCustomidBetween(Integer value1, Integer value2) {
            addCriterion("CustomID between", value1, value2, "customid");
            return (Criteria) this;
        }

        public Criteria andCustomidNotBetween(Integer value1, Integer value2) {
            addCriterion("CustomID not between", value1, value2, "customid");
            return (Criteria) this;
        }

        public Criteria andOrdertimeIsNull() {
            addCriterion("OrderTime is null");
            return (Criteria) this;
        }

        public Criteria andOrdertimeIsNotNull() {
            addCriterion("OrderTime is not null");
            return (Criteria) this;
        }

        public Criteria andOrdertimeEqualTo(Date value) {
            addCriterion("OrderTime =", value, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeNotEqualTo(Date value) {
            addCriterion("OrderTime <>", value, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeGreaterThan(Date value) {
            addCriterion("OrderTime >", value, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeGreaterThanOrEqualTo(Date value) {
            addCriterion("OrderTime >=", value, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeLessThan(Date value) {
            addCriterion("OrderTime <", value, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeLessThanOrEqualTo(Date value) {
            addCriterion("OrderTime <=", value, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeIn(List<Date> values) {
            addCriterion("OrderTime in", values, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeNotIn(List<Date> values) {
            addCriterion("OrderTime not in", values, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeBetween(Date value1, Date value2) {
            addCriterion("OrderTime between", value1, value2, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeNotBetween(Date value1, Date value2) {
            addCriterion("OrderTime not between", value1, value2, "ordertime");
            return (Criteria) this;
        }

        public Criteria andEmployeeidIsNull() {
            addCriterion("EmployeeID is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeidIsNotNull() {
            addCriterion("EmployeeID is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeidEqualTo(Integer value) {
            addCriterion("EmployeeID =", value, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidNotEqualTo(Integer value) {
            addCriterion("EmployeeID <>", value, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidGreaterThan(Integer value) {
            addCriterion("EmployeeID >", value, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("EmployeeID >=", value, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidLessThan(Integer value) {
            addCriterion("EmployeeID <", value, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidLessThanOrEqualTo(Integer value) {
            addCriterion("EmployeeID <=", value, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidIn(List<Integer> values) {
            addCriterion("EmployeeID in", values, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidNotIn(List<Integer> values) {
            addCriterion("EmployeeID not in", values, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidBetween(Integer value1, Integer value2) {
            addCriterion("EmployeeID between", value1, value2, "employeeid");
            return (Criteria) this;
        }

        public Criteria andEmployeeidNotBetween(Integer value1, Integer value2) {
            addCriterion("EmployeeID not between", value1, value2, "employeeid");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNull() {
            addCriterion("Discount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNotNull() {
            addCriterion("Discount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountEqualTo(Float value) {
            addCriterion("Discount =", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotEqualTo(Float value) {
            addCriterion("Discount <>", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThan(Float value) {
            addCriterion("Discount >", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThanOrEqualTo(Float value) {
            addCriterion("Discount >=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThan(Float value) {
            addCriterion("Discount <", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThanOrEqualTo(Float value) {
            addCriterion("Discount <=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountIn(List<Float> values) {
            addCriterion("Discount in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotIn(List<Float> values) {
            addCriterion("Discount not in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountBetween(Float value1, Float value2) {
            addCriterion("Discount between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotBetween(Float value1, Float value2) {
            addCriterion("Discount not between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andRealpaymoneyIsNull() {
            addCriterion("RealPayMoney is null");
            return (Criteria) this;
        }

        public Criteria andRealpaymoneyIsNotNull() {
            addCriterion("RealPayMoney is not null");
            return (Criteria) this;
        }

        public Criteria andRealpaymoneyEqualTo(Float value) {
            addCriterion("RealPayMoney =", value, "realpaymoney");
            return (Criteria) this;
        }

        public Criteria andRealpaymoneyNotEqualTo(Float value) {
            addCriterion("RealPayMoney <>", value, "realpaymoney");
            return (Criteria) this;
        }

        public Criteria andRealpaymoneyGreaterThan(Float value) {
            addCriterion("RealPayMoney >", value, "realpaymoney");
            return (Criteria) this;
        }

        public Criteria andRealpaymoneyGreaterThanOrEqualTo(Float value) {
            addCriterion("RealPayMoney >=", value, "realpaymoney");
            return (Criteria) this;
        }

        public Criteria andRealpaymoneyLessThan(Float value) {
            addCriterion("RealPayMoney <", value, "realpaymoney");
            return (Criteria) this;
        }

        public Criteria andRealpaymoneyLessThanOrEqualTo(Float value) {
            addCriterion("RealPayMoney <=", value, "realpaymoney");
            return (Criteria) this;
        }

        public Criteria andRealpaymoneyIn(List<Float> values) {
            addCriterion("RealPayMoney in", values, "realpaymoney");
            return (Criteria) this;
        }

        public Criteria andRealpaymoneyNotIn(List<Float> values) {
            addCriterion("RealPayMoney not in", values, "realpaymoney");
            return (Criteria) this;
        }

        public Criteria andRealpaymoneyBetween(Float value1, Float value2) {
            addCriterion("RealPayMoney between", value1, value2, "realpaymoney");
            return (Criteria) this;
        }

        public Criteria andRealpaymoneyNotBetween(Float value1, Float value2) {
            addCriterion("RealPayMoney not between", value1, value2, "realpaymoney");
            return (Criteria) this;
        }

        public Criteria andOrderstateIsNull() {
            addCriterion("OrderState is null");
            return (Criteria) this;
        }

        public Criteria andOrderstateIsNotNull() {
            addCriterion("OrderState is not null");
            return (Criteria) this;
        }

        public Criteria andOrderstateEqualTo(String value) {
            addCriterion("OrderState =", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateNotEqualTo(String value) {
            addCriterion("OrderState <>", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateGreaterThan(String value) {
            addCriterion("OrderState >", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateGreaterThanOrEqualTo(String value) {
            addCriterion("OrderState >=", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateLessThan(String value) {
            addCriterion("OrderState <", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateLessThanOrEqualTo(String value) {
            addCriterion("OrderState <=", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateLike(String value) {
            addCriterion("OrderState like", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateNotLike(String value) {
            addCriterion("OrderState not like", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateIn(List<String> values) {
            addCriterion("OrderState in", values, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateNotIn(List<String> values) {
            addCriterion("OrderState not in", values, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateBetween(String value1, String value2) {
            addCriterion("OrderState between", value1, value2, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateNotBetween(String value1, String value2) {
            addCriterion("OrderState not between", value1, value2, "orderstate");
            return (Criteria) this;
        }

        public Criteria andFinishedtimeIsNull() {
            addCriterion("FinishedTime is null");
            return (Criteria) this;
        }

        public Criteria andFinishedtimeIsNotNull() {
            addCriterion("FinishedTime is not null");
            return (Criteria) this;
        }

        public Criteria andFinishedtimeEqualTo(Date value) {
            addCriterion("FinishedTime =", value, "finishedtime");
            return (Criteria) this;
        }

        public Criteria andFinishedtimeNotEqualTo(Date value) {
            addCriterion("FinishedTime <>", value, "finishedtime");
            return (Criteria) this;
        }

        public Criteria andFinishedtimeGreaterThan(Date value) {
            addCriterion("FinishedTime >", value, "finishedtime");
            return (Criteria) this;
        }

        public Criteria andFinishedtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("FinishedTime >=", value, "finishedtime");
            return (Criteria) this;
        }

        public Criteria andFinishedtimeLessThan(Date value) {
            addCriterion("FinishedTime <", value, "finishedtime");
            return (Criteria) this;
        }

        public Criteria andFinishedtimeLessThanOrEqualTo(Date value) {
            addCriterion("FinishedTime <=", value, "finishedtime");
            return (Criteria) this;
        }

        public Criteria andFinishedtimeIn(List<Date> values) {
            addCriterion("FinishedTime in", values, "finishedtime");
            return (Criteria) this;
        }

        public Criteria andFinishedtimeNotIn(List<Date> values) {
            addCriterion("FinishedTime not in", values, "finishedtime");
            return (Criteria) this;
        }

        public Criteria andFinishedtimeBetween(Date value1, Date value2) {
            addCriterion("FinishedTime between", value1, value2, "finishedtime");
            return (Criteria) this;
        }

        public Criteria andFinishedtimeNotBetween(Date value1, Date value2) {
            addCriterion("FinishedTime not between", value1, value2, "finishedtime");
            return (Criteria) this;
        }

        public Criteria andRecmemoIsNull() {
            addCriterion("RecMemo is null");
            return (Criteria) this;
        }

        public Criteria andRecmemoIsNotNull() {
            addCriterion("RecMemo is not null");
            return (Criteria) this;
        }

        public Criteria andRecmemoEqualTo(String value) {
            addCriterion("RecMemo =", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoNotEqualTo(String value) {
            addCriterion("RecMemo <>", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoGreaterThan(String value) {
            addCriterion("RecMemo >", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoGreaterThanOrEqualTo(String value) {
            addCriterion("RecMemo >=", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoLessThan(String value) {
            addCriterion("RecMemo <", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoLessThanOrEqualTo(String value) {
            addCriterion("RecMemo <=", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoLike(String value) {
            addCriterion("RecMemo like", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoNotLike(String value) {
            addCriterion("RecMemo not like", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoIn(List<String> values) {
            addCriterion("RecMemo in", values, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoNotIn(List<String> values) {
            addCriterion("RecMemo not in", values, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoBetween(String value1, String value2) {
            addCriterion("RecMemo between", value1, value2, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoNotBetween(String value1, String value2) {
            addCriterion("RecMemo not between", value1, value2, "recmemo");
            return (Criteria) this;
        }

        public Criteria andOrderaddrIsNull() {
            addCriterion("orderAddr is null");
            return (Criteria) this;
        }

        public Criteria andOrderaddrIsNotNull() {
            addCriterion("orderAddr is not null");
            return (Criteria) this;
        }

        public Criteria andOrderaddrEqualTo(String value) {
            addCriterion("orderAddr =", value, "orderaddr");
            return (Criteria) this;
        }

        public Criteria andOrderaddrNotEqualTo(String value) {
            addCriterion("orderAddr <>", value, "orderaddr");
            return (Criteria) this;
        }

        public Criteria andOrderaddrGreaterThan(String value) {
            addCriterion("orderAddr >", value, "orderaddr");
            return (Criteria) this;
        }

        public Criteria andOrderaddrGreaterThanOrEqualTo(String value) {
            addCriterion("orderAddr >=", value, "orderaddr");
            return (Criteria) this;
        }

        public Criteria andOrderaddrLessThan(String value) {
            addCriterion("orderAddr <", value, "orderaddr");
            return (Criteria) this;
        }

        public Criteria andOrderaddrLessThanOrEqualTo(String value) {
            addCriterion("orderAddr <=", value, "orderaddr");
            return (Criteria) this;
        }

        public Criteria andOrderaddrLike(String value) {
            addCriterion("orderAddr like", value, "orderaddr");
            return (Criteria) this;
        }

        public Criteria andOrderaddrNotLike(String value) {
            addCriterion("orderAddr not like", value, "orderaddr");
            return (Criteria) this;
        }

        public Criteria andOrderaddrIn(List<String> values) {
            addCriterion("orderAddr in", values, "orderaddr");
            return (Criteria) this;
        }

        public Criteria andOrderaddrNotIn(List<String> values) {
            addCriterion("orderAddr not in", values, "orderaddr");
            return (Criteria) this;
        }

        public Criteria andOrderaddrBetween(String value1, String value2) {
            addCriterion("orderAddr between", value1, value2, "orderaddr");
            return (Criteria) this;
        }

        public Criteria andOrderaddrNotBetween(String value1, String value2) {
            addCriterion("orderAddr not between", value1, value2, "orderaddr");
            return (Criteria) this;
        }

        public Criteria andOrderphoneIsNull() {
            addCriterion("orderPhone is null");
            return (Criteria) this;
        }

        public Criteria andOrderphoneIsNotNull() {
            addCriterion("orderPhone is not null");
            return (Criteria) this;
        }

        public Criteria andOrderphoneEqualTo(String value) {
            addCriterion("orderPhone =", value, "orderphone");
            return (Criteria) this;
        }

        public Criteria andOrderphoneNotEqualTo(String value) {
            addCriterion("orderPhone <>", value, "orderphone");
            return (Criteria) this;
        }

        public Criteria andOrderphoneGreaterThan(String value) {
            addCriterion("orderPhone >", value, "orderphone");
            return (Criteria) this;
        }

        public Criteria andOrderphoneGreaterThanOrEqualTo(String value) {
            addCriterion("orderPhone >=", value, "orderphone");
            return (Criteria) this;
        }

        public Criteria andOrderphoneLessThan(String value) {
            addCriterion("orderPhone <", value, "orderphone");
            return (Criteria) this;
        }

        public Criteria andOrderphoneLessThanOrEqualTo(String value) {
            addCriterion("orderPhone <=", value, "orderphone");
            return (Criteria) this;
        }

        public Criteria andOrderphoneLike(String value) {
            addCriterion("orderPhone like", value, "orderphone");
            return (Criteria) this;
        }

        public Criteria andOrderphoneNotLike(String value) {
            addCriterion("orderPhone not like", value, "orderphone");
            return (Criteria) this;
        }

        public Criteria andOrderphoneIn(List<String> values) {
            addCriterion("orderPhone in", values, "orderphone");
            return (Criteria) this;
        }

        public Criteria andOrderphoneNotIn(List<String> values) {
            addCriterion("orderPhone not in", values, "orderphone");
            return (Criteria) this;
        }

        public Criteria andOrderphoneBetween(String value1, String value2) {
            addCriterion("orderPhone between", value1, value2, "orderphone");
            return (Criteria) this;
        }

        public Criteria andOrderphoneNotBetween(String value1, String value2) {
            addCriterion("orderPhone not between", value1, value2, "orderphone");
            return (Criteria) this;
        }

        public Criteria andReceivernameIsNull() {
            addCriterion("receiverName is null");
            return (Criteria) this;
        }

        public Criteria andReceivernameIsNotNull() {
            addCriterion("receiverName is not null");
            return (Criteria) this;
        }

        public Criteria andReceivernameEqualTo(String value) {
            addCriterion("receiverName =", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameNotEqualTo(String value) {
            addCriterion("receiverName <>", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameGreaterThan(String value) {
            addCriterion("receiverName >", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameGreaterThanOrEqualTo(String value) {
            addCriterion("receiverName >=", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameLessThan(String value) {
            addCriterion("receiverName <", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameLessThanOrEqualTo(String value) {
            addCriterion("receiverName <=", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameLike(String value) {
            addCriterion("receiverName like", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameNotLike(String value) {
            addCriterion("receiverName not like", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameIn(List<String> values) {
            addCriterion("receiverName in", values, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameNotIn(List<String> values) {
            addCriterion("receiverName not in", values, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameBetween(String value1, String value2) {
            addCriterion("receiverName between", value1, value2, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameNotBetween(String value1, String value2) {
            addCriterion("receiverName not between", value1, value2, "receivername");
            return (Criteria) this;
        }

        public Criteria andNormalmoneyIsNull() {
            addCriterion("NormalMoney is null");
            return (Criteria) this;
        }

        public Criteria andNormalmoneyIsNotNull() {
            addCriterion("NormalMoney is not null");
            return (Criteria) this;
        }

        public Criteria andNormalmoneyEqualTo(Double value) {
            addCriterion("NormalMoney =", value, "normalmoney");
            return (Criteria) this;
        }

        public Criteria andNormalmoneyNotEqualTo(Double value) {
            addCriterion("NormalMoney <>", value, "normalmoney");
            return (Criteria) this;
        }

        public Criteria andNormalmoneyGreaterThan(Double value) {
            addCriterion("NormalMoney >", value, "normalmoney");
            return (Criteria) this;
        }

        public Criteria andNormalmoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("NormalMoney >=", value, "normalmoney");
            return (Criteria) this;
        }

        public Criteria andNormalmoneyLessThan(Double value) {
            addCriterion("NormalMoney <", value, "normalmoney");
            return (Criteria) this;
        }

        public Criteria andNormalmoneyLessThanOrEqualTo(Double value) {
            addCriterion("NormalMoney <=", value, "normalmoney");
            return (Criteria) this;
        }

        public Criteria andNormalmoneyIn(List<Double> values) {
            addCriterion("NormalMoney in", values, "normalmoney");
            return (Criteria) this;
        }

        public Criteria andNormalmoneyNotIn(List<Double> values) {
            addCriterion("NormalMoney not in", values, "normalmoney");
            return (Criteria) this;
        }

        public Criteria andNormalmoneyBetween(Double value1, Double value2) {
            addCriterion("NormalMoney between", value1, value2, "normalmoney");
            return (Criteria) this;
        }

        public Criteria andNormalmoneyNotBetween(Double value1, Double value2) {
            addCriterion("NormalMoney not between", value1, value2, "normalmoney");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}